[Manager Summary]

PMGetOrientation


Reports the current setting for page orientation.
OSStatus PMGetOrientation(PMPageFormat pageFormat, PMOrientation *orientation)
PARAMETERS
pageFormat
A PMPageFormat object previously created by your application for the current printing session.
orientation
A pointer to a variable of type PMOrientation. On return, this describes the current page orientation.
function result
A result code. See Result Codes.
CARBON PORTING NOTES
 The PMGetOrientation function replaces the Printing Manager opcode getRotnOp, and obtains information formerly stored in the lower byte of the wDev field of the Printing Manager structure TPrStl.

Last modified: 5/7/99. Status: Draft Copyright 1999 Apple Computer, Inc. All rights reserved.